/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.anny.stock.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.anny.stock.entity.Annyinventory;
import com.jeeplus.modules.anny.stock.mapper.AnnyinventoryMapper;

/**
 * 商品库存Service
 * @author xh
 * @version 2018-12-06
 */
@Service
@Transactional(readOnly = true)
public class AnnyinventoryService extends CrudService<AnnyinventoryMapper, Annyinventory> {

	public Annyinventory get(String id) {
		return super.get(id);
	}
	
	public List<Annyinventory> findList(Annyinventory annyinventory) {
		return super.findList(annyinventory);
	}
	
	public Page<Annyinventory> findPage(Page<Annyinventory> page, Annyinventory annyinventory) {
		return super.findPage(page, annyinventory);
	}
	
	@Transactional(readOnly = false)
	public void save(Annyinventory annyinventory) {
		super.save(annyinventory);
	}
	
	@Transactional(readOnly = false)
	public void delete(Annyinventory annyinventory) {
		super.delete(annyinventory);
	}
	
}